package bl.document;


import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.List;

import vo.DocumentVo;
import vo.Vo;
import blservice.document.DocumentBLService;
import dbservice.document.DocumentDBService;
import dbservice.history.SystemLogDBService;
public abstract class DocumentBL  extends UnicastRemoteObject implements DocumentBLService{

	private static final long serialVersionUID = 5306252444298448578L;
	protected DocumentDBService documentDB;
	protected SystemLogDBService log;
    public DocumentBL(DocumentDBService documentDB,SystemLogDBService log) throws RemoteException{
    	this.documentDB=documentDB;
    	this.log=log;
    }
	@Override
	public abstract  Vo approve(DocumentVo document);
	@Override
	public abstract Vo add(DocumentVo document);
	@Override
	public abstract Vo update(DocumentVo document);
	@Override
	public abstract List<DocumentVo> get(DocumentVo from, DocumentVo to);
	@Override
	public abstract List<DocumentVo> getUnapproval() ;
	
	public abstract Vo redRush(DocumentVo vo);
	
	
	
	
}
	